package com.aaa.system.service;

import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.aaa.entity.DictType;

import java.util.List;

/**
 * <p>
 * 字典类型表 服务类
 * </p>
 *
 * @author L
 * @since 2023-03-21
 */
public interface IDictTypeService extends IService<DictType> {

    Result<IPage<DictType>> selectAll(Integer current, Integer size, DictType dictType);

    Result<Boolean> saveOrUpdateDictType(DictType dictType);

    Result<Boolean> deleteDictTypeByIds(Long[] dictIds);

    Result<List<DictType>> dictTypeList();

    Result<String> getTypeById(Long dictId);
}
